﻿
@{
    ViewBag.Title = "Register";
}

@RenderPage("~/Areas/EasyUI/Views/Shared/_EasyUI.cshtml")

<link href="/Scripts/EasyUI/Insdep/easyui.css" rel="stylesheet" />
<link href="/Scripts/EasyUI/Insdep/easyui_animation.css" rel="stylesheet" type="text/css">
<link href="/Scripts/EasyUI/Insdep/easyui_plus.css" rel="stylesheet" type="text/css">
<link href="/Scripts/EasyUI/Insdep/insdep_theme_default.css" rel="stylesheet" type="text/css">

<style type="text/css">
    .combo-panel.panel-body.panel-body-noheader
    {
        height: 100% !important;
    }
</style>

<div id="theme-login-form" style="margin-top:5%">
    <form id="register" class="theme-login-form" method="post">
        @Html.AntiForgeryToken()
        <dl style="width:30%">
            <dd>
                <input type="hidden" id="usertype" name="usertype" />
                <select id="usertypeselect" class="theme-login-select" style="width: 100%;">
                    <option value="0">请选择用户类型</option>
                    <option value="1">学生</option>
                    <option value="2">教师</option>
                </select>
            </dd>
            <dd>
                <div class="group-mail">
                    <input type="hidden" id="useremail" name="useremail" />
                    <input id="email" validType="starteEail" name="email" style="width: 60%; float: left" />
                    <select id="emailselect" name="emailselect" style="width: 40%; float: left">
                        <option value="0">@@qq.com</option>
                        <option value="1">@@163.com</option>
                        <option value="2">@@gmail.com</option>
                    </select>
                </div>
            </dd>
            <dd><input id="username" name="username" class="theme-login-text" style="width: 100%;" /></dd>
            <dd><input id="phones" name="phones" validType="telNum" class="theme-login-text" style="width: 100%;" /></dd>
            <dd>
                <div class="group-mail">
                    <input type="hidden" id="addressinfo" name="addressinfo" />
                    <input type="hidden" id="addressid" name="addressid" />
                    <select id="provinceselect"  name="provinceselect" style="width: 25%;">
                        <option value="请选择">请选择</option>
                    </select>

                    <select id="cityselect"  name="cityselect" style="width: 25%;">
                        <option value="请选择">请选择</option>
                    </select>

                    <select id="townselect" name="areaCheck" style="width: 25%;">
                        <option value="请选择">请选择</option>
                    </select> 
                </div>
            </dd>
            <dd>
                <div class="group-mail">
                    <input  type="hidden" id="sexs" name="sexs"/>
                    <input type="text" id="ages" name="ages" style="width: 50%; float: left" />
                    <select id="sexsselect" name="sexsselect" style="width:50%; float: left">
                        <option value="0">请选择</option>
                        <option value="男">男</option>
                        <option value="女">女</option>
                        <option value="保密">保密</option>
                    </select>
                </div>
            </dd>
            <dd><input id="passwords" validType="length[6,20]"  name="passwords" class=" theme-login-text easyui-passwordbox" iconWidth="28" style="width: 100%;" /></dd>
            <dd><input id="passwordcomfirm"  name="passwordcomfirm" class=" theme-login-text easyui-passwordbox" validType="equalTo['#passwords']" invalidMessage="输入密码不匹配" iconWidth="28" style="width: 100%;" /></dd>
            <dd><input id="codes" name="codes" class="theme-login-text" style="width: 100%;"></dd>
            <dd><img id="img" src="/EasyUI/Admin/Validate?id=1" style="width:100%" /></dd>
            <dd><input class="submit" type="submit" style="width: 48%; float: left" value="注册" /><a style="width: 48%; float: right" class="easyui-linkbutton button">忘记密码 ?</a></dd>
        </dl>
    </form>
</div>

<script src="/Areas/EasyUI/Scripts/Admin/Register.js"></script>